package com.redis.mapper;

import com.redis.entity.TicketDTO;
import com.redis.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: Li
 * @Date: 2024/12/16 10:34
 * @Description:
 */
@Mapper
public interface UserMapper {
    User getUserByPhone(String phone);
    
    List<User> getAllUser();
    
    void registerUser(User user);
    
    List<TicketDTO> getAllTicket(String uid);
}
